package org.yzh.web.mapper;

import org.springframework.stereotype.Repository;
import org.yzh.web.model.entity.VideoDownloadDO;
import org.yzh.web.model.vo.VideoDownload;
import org.yzh.web.model.vo.VideoDownloadQuery;

import java.util.List;

/**
 * @Entity org.yzh.web.model.entity.VideoDownloadDO
 */
@Repository
public interface VideoDownloadMapper {

    int delete(Long id);

    int insert(VideoDownloadDO record);

    int batchInsert(List<VideoDownloadDO> records);


    List<VideoDownloadDO> find(VideoDownloadQuery query);


    int update(VideoDownloadDO record);
}